OpenLegislation

Division 7 The term ‘type/length’ in the explanation of an attribute indicates the requirements for the data type and the data length. The codes for the data types are as follows:

Original text. Later amendments are not shown.

a
  • alphabetic

  • n
  • numeric

  • an
  • alphanumeric

  • The number following the code indicates the admissible data length. The following applies:

    The optional two dots before the length indicator mean that the data has no fixed length, but it can have up to a number of digits, as specified by the length indicator. A comma in the data length means that the attribute can hold decimals, the digit before the comma indicates the total length of the attribute, the digit after the comma indicates the maximum number of digits after the decimal point.

    Examples of field lengths and formats:

    a1
  • 1 alphabetic character, fixed length

  • n2
  • 2 numeric characters, fixed length

  • an3
  • 3 alphanumeric characters, fixed length

  • a..4
  • up to 4 alphabetic characters

  • n..5
  • up to 5 numeric characters

  • an..6
  • up to 6 alphanumeric characters

  • n..7,2
  • up to 7 numeric characters including maximum 2 decimals, a delimiter being allowed to float.